package com.glela.goods.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.glela.goods.model.Goods;
import com.glela.goods.model.TeacherGoods;

public interface TeacherGoodsMapper {

	public int insertTeacherGoods(@Param("goodsId")long goodsId,@Param("teacherId")long teacherId,@Param("isDefault")int isDefault );
	
	public int deleteTeacherGoods(long teacherId);
	
	public List<TeacherGoods> selectTeacherGoods(long teacherId);
	
	public List<Long> selectTeacherGoodsIsdefault();
	
	public List<Long> selectTeacherGoodsIsdefaultTeacherId(long teacherId);
	
	public List<Long> selectTeacherGoodsId1(long teacherId);
	public List<Long> selectTeacherGoodsId2(long teacherId);
	public List<Long> selectTeacherGoodsId3(long teacherId);
	public List<Long> selectTeacherGoodsId4(long teacherId);
	public List<Long> selectTeacherGoodsId5(long teacherId);
	public List<Long> selectTeacherGoodsId6(long teacherId);
	public List<Long> selectTeacherGoodsId7(long teacherId);
	public List<Long> selectTeacherGoodsId8(long teacherId);
	public List<Long> selectTeacherGoodsId9(long teacherId);
	public List<Long> selectTeacherGoodsId10(long teacherId);
	
	public List<Goods> selectTeacherGoodsByTeacherIdAndBaner(@Param("teacherId")long teacherId,@Param("page")int page,@Param("pageSize")int pageSize );
}
